/* Hero Section */
.hero {
    background: var(--primary-color);
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--light-text);
    margin-top: 80px;
    position: relative;
    padding: 40px 0 60px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.05) 0%, transparent 40%);
    animation: rotateGradient 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    animation: fadeInSlideUp 0.8s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
    animation: fadeInSlideUp 0.8s ease-out 0.2s backwards;
}

.badges {
    animation: fadeInSlideUp 0.8s ease-out 0.3s backwards;
}

.hero-btns {
    animation: fadeInSlideUp 0.8s ease-out 0.4s backwards;
}

.hero-bottom-links {
    animation: fadeInSlideUp 0.8s ease-out 0.5s backwards;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.badges {
    margin-bottom: 25px;
}

.badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.badges img {
    height: 20px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #5865F2;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-out;
    transform: skewX(-15deg);
}

.discord-btn:hover::after {
    transform: skewX(-15deg) translateX(200%);
}

.discord-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.discord-btn:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover svg {
    transform: scale(1.1);
}

.hero-bottom-links {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.text-link {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 3px 0;
}

.text-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.text-link:hover {
    color: white;
    transform: translateY(-1px);
}

.text-link:hover::after {
    width: 100%;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 55%;
    padding-right: 20px;
}

.image-glow-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.image-glow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0);
    transition: box-shadow 0.5s ease;
    z-index: -1;
}

.image-glow-wrapper:hover::before {
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
}

.hero-header-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.5s ease-in-out;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-header-image:hover {
    transform: scale(1.02);
}

/* Media queries for responsive hero */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-image-container {
        max-width: 45%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-wrapper {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image-container {
        max-width: 90%;
        margin-bottom: 40px;
        justify-content: center;
        padding-right: 0;
    }
    
    .hero-header-image {
        max-width: 95%;
        animation: floatSmaller 5s ease-in-out infinite;
    }
    
    @keyframes floatSmaller {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-6px);
        }
        100% {
            transform: translateY(0px);
        }
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .badges {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-image-container {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-header-image {
        max-width: 85%;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 30px 0 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image-container {
        max-width: 100%;
    }
    
    .discord-btn {
        width: 100%;
        padding: 12px 15px;
    }
    
    .hero-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .badge-row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .badge-row img {
        height: 22px;
    }
}
